﻿<UserControl x:Class="BingMapTest.MainScreen"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
		xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
		mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <m:Map Name="Bing" Grid.Row="1"
           LoadingError="MapNotLoaded" 
					 CredentialsProvider="AtkLTSqCB4ENRmBqIL4UGVv_scxX0Bl6JNA4c8VXpHSaguSEw2UyfQRNsSNfZolk" 
					 Loaded="MapLoaded"
           Grid.RowSpan="2"           
					 />
        <StackPanel x:Name="Layout" Orientation="Horizontal" Grid.Row="0" Height="25" HorizontalAlignment="Right">
            <ToggleButton Content="Animate" ToolTipService.ToolTip="Animates point symbols" Width ="75" Click="ButtonClick" />
        </StackPanel>
    </Grid>

</UserControl>
